package com.cpfmat.entity;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhangbin
 * @since 2018-07-30
 */
@TableName("system_user")
public class SystemUser extends Model<SystemUser> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId("SEQ_ID")
    private String seqId;
    /**
     * 用户名
     */
    @TableField("LOGIN_NAME")
    private String loginName;
    /**
     * 显示名称
     */
    @TableField("USER_NAME")
    private String userName;
    /**
     * 密码
     */
    @TableField("LOGIN_PWD")
    private String loginPwd;
    /**
     * 数据更新时间
     */
    @TableField("UPDATE_TIME")
    private Date updateTime;
    /**
     * 更新次数
     */
    @TableField("UPDATE_COUNTS")
    private Integer updateCounts;
    /**
     * 删除标志位
     */
    @TableField("DEL_FLAG")
    private Integer delFlag;


    public String getSeqId() {
        return seqId;
    }

    public void setSeqId(String seqId) {
        this.seqId = seqId;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getLoginPwd() {
        return loginPwd;
    }

    public void setLoginPwd(String loginPwd) {
        this.loginPwd = loginPwd;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getUpdateCounts() {
        return updateCounts;
    }

    public void setUpdateCounts(Integer updateCounts) {
        this.updateCounts = updateCounts;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    @Override
    protected Serializable pkVal() {
        return this.seqId;
    }

    @Override
    public String toString() {
        return "SystemUser{" +
        ", seqId=" + seqId +
        ", loginName=" + loginName +
        ", userName=" + userName +
        ", loginPwd=" + loginPwd +
        ", updateTime=" + updateTime +
        ", updateCounts=" + updateCounts +
        ", delFlag=" + delFlag +
        "}";
    }
}
